﻿@page "{id:int}"
@{ 
    var id = ViewContext.RouteData.Values["id"];
}

    <div class="col-md-6 offset-md-3 p-5 bg-light border border-danger text-center w-50" style="margin-top:100px">
        <h2><i class="fa fa-check text-success fa-2x"></i> 您的帖子已成功发布</h2>
        <div class="mt-5">
            <a target="_blank" asp-page="Edit" asp-route-id="" class="btn btn-outline-danger w-25 mr-5">
                写新帖子
            </a>
            <a asp-page="Detail" asp-route-id="@id" class="btn btn-outline-danger w-25 mr-5">
                查看帖子
            </a>
            <a target="_blank" asp-page="/User/Index" asp-route-userId="@User.Identity.UserId()" class="btn btn-outline-danger w-25">
                我的帖子
            </a>
        </div>
    </div>